﻿@{
    var _model = Request.QueryString["_model"];
    if (!string.IsNullOrEmpty(_model) && _model.ToLower() == "dialog")
    {
        Layout = "~/Views/Shared/_DialogLayout.cshtml";
    }
    else
    {
        Layout = "~/Views/Shared/_Layout.cshtml";
    } 
     
}